package com.weiz.designpatterns.flyweight;


/**
 * ConcreteFlyweight
 */
class CharacterA extends ICharacter {
    //具体字符 A
    public CharacterA() {
        symbol = 'A';
        size = 10;
        font = "宋体";
    }

    @Override
    public void display() {
        System.out.println("symbol:" + symbol + " size:" + size + " font:" + font);
    }
}